package com.yf.controller;

import com.yf.common.BaseController;
import com.yf.common.response.R;
import com.yf.domain.OdOrderLngMoney;
import com.yf.service.OdOrderLngMoneyService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/*********************************************************
 ** 用户加气金流水控制器
 ** <br><br>
 ** @author: yangfeng
 ** @date: 2024/3/29 10:46
 ** @version: 1.0.0
 *********************************************************/
@RestController
@Slf4j
@RequestMapping("/odOrderLngMoney")
public class OdOrderLngMoneyController{
    @Resource
    private OdOrderLngMoneyService odOrderLngMoneyService;
    @GetMapping("/getById/{uuid}")
    public R<OdOrderLngMoney> getById(@PathVariable String uuid){
        log.info("线程{}",Thread.currentThread().getName());
        return R.success(odOrderLngMoneyService.getById(uuid));
    }
}
